package com.app.abby.perfectweather.model.api;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by Abby on 8/13/2017.
 */

public interface ApiInterface {

    String HOST="https://devapi.qweather.com/v7/weather/";

    @GET("now")
    Observable<WeatherBean> mWeatherAPI(@Query("location") String city, @Query("key") String key);

    @GET("3d")
    Observable<Weather3dBean> mWeather3d(@Query("location") String city, @Query("key") String key);

}
